|
|
|
@ -5,12 +5,12 @@
|
|
|
|
|
<a-row> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="流程表单号" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['processId']" /> |
|
|
|
|
<a-input v-decorator="['processId']" placeholder="请输入流程表单号" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['supplierId']" /> |
|
|
|
|
<a-input v-decorator="['supplierId']" placeholder="请输入供应商id" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
@ -20,7 +20,11 @@
|
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="物料组" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['itemGroup']" type="list" :trigger-change="true" placeholder="请输入物料组" /> |
|
|
|
|
<!-- <a-input v-decorator="['itemGroup']" type="list" :trigger-change="true" placeholder="请输入物料组" />--> |
|
|
|
|
|
|
|
|
|
<a-select v-decorator="['itemGroup']" placeholder="请选择物料组" > |
|
|
|
|
<a-select-option v-for="(item,index) in bigId" :key="index" :value="item.itemGroup">{{item.itemGroup}}</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
@ -40,27 +44,27 @@
|
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="数量" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['amount']" /> |
|
|
|
|
<a-input v-decorator="['amount']" placeholder="请输入数量" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="单价(元)" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['price']" /> |
|
|
|
|
<a-input v-decorator="['price']" placeholder="请输入单价(元)" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="金额(元)" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['rates']" /> |
|
|
|
|
<a-input v-decorator="['rates']" placeholder="请输入金额(元)" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="仓储地点" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['unitWasteWarehouseCodeId']" type="list" :trigger-change="true" placeholder="请输入仓储地点" /> |
|
|
|
|
<a-input v-decorator="['unitWasteWarehouseCodeId']" type="list" :trigger-change="true" placeholder="请选择仓储地点" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="存储仓位" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['freightSpace']" type="list" :trigger-change="true" placeholder="请输入储存仓位" /> |
|
|
|
|
<a-input v-decorator="['freightSpace']" type="list" :trigger-change="true" placeholder="请选择储存仓位" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
@ -75,12 +79,15 @@
|
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="批次" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['batch']" type="list" :trigger-change="true" placeholder="请输入批次" /> |
|
|
|
|
<a-input v-decorator="['batch']" type="list" :trigger-change="true" placeholder="请选择批次" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="到货情况" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['arrivalNotice']" dict="" /> |
|
|
|
|
<!-- <a-input v-decorator="['arrivalNotice']" dict="" placeholder="请选择到货情况"/>--> |
|
|
|
|
<a-select v-decorator="['arrivalNotice']" placeholder="请选择到货情况" > |
|
|
|
|
<a-select-option v-for="(item,index) in bigId" :key="index" :value="item.arrivalNotice">{{item.arrivalNotice}}</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
@ -90,12 +97,15 @@
|
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="入库人" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['librarySign']" type="list" :trigger-change="true" placeholder="请输入入库人" /> |
|
|
|
|
<!-- <a-input v-decorator="['librarySign']" type="list" :trigger-change="true" placeholder="请选择入库人" />--> |
|
|
|
|
<a-select v-decorator="['librarySign']" placeholder="请选择入库人" > |
|
|
|
|
<a-select-option v-for="(item,index) in bigId" :key="index" :value="item.librarySign">{{item.librarySign}}</a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="8"> |
|
|
|
|
<a-form-item label="核算属性" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input v-decorator="['accountingAttributes']" type="list" :trigger-change="true" placeholder="请输入核算属性" /> |
|
|
|
|
<a-input v-decorator="['accountingAttributes']" type="list" :trigger-change="true" placeholder="请选择核算属性" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col v-if="showFlowSubmitButton" :span="24" style="text-align: center"> |
|
|
|
@ -148,6 +158,7 @@
|
|
|
|
|
return { |
|
|
|
|
form: this.$form.createForm(this), |
|
|
|
|
model: {}, |
|
|
|
|
bigId:[], |
|
|
|
|
labelCol: { |
|
|
|
|
xs: { span: 24 }, |
|
|
|
|
sm: { span: 5 }, |
|
|
|
|