git fetch
git checkout feature/DAS2-80-support-to-import-stock-transfer
Branch feature/DAS2-80-support-to-import-stock-transfer
set up to track remote branch
feature/DAS2-80-support-to-import-stock-transfer from origin.
Switched to a new branch
'feature/DAS2-80-support-to-import-stock-transfer'
模態(tài)框的文件名src/app/modules/stock_transfers/import.html
參考 src/app/modules/purchase_orders/import_purchase_order.html
原本的邏輯代碼:
<form style="padding:15px" ng-submit="uploadFiles()">
sample: <a ng-if="sample" href="{{sample}}" target="_blank">{{'Sample CSV (Simple)' |translate}}</a><br>
<div>{{chainMember[0]}}</div>
<input id="csvFileInput" type="file" ng-model="data" app-filereader filedata="filedata"/>
<div style="clear:both">
<div ng-show="!submitting" class="" style="padding-top:10px;padding-left:15px;padding-bottom: 10px">
<button class="_primary" type="submit">{{'Submit' |translate}}</button>
</div>
</div>
</form>
表格完成馏艾,做導(dǎo)入成功判斷