| | |
| | | <u-input class="item-one item-two" v-model="form.reelNumber" /> |
| | | </view> |
| | | </view> |
| | | <view class="packing-registration-param-item param-extra"> |
| | | <view class="packing-registration-param-item-left"> |
| | | <text class="item-one">盘重</text> |
| | | </view> |
| | | <view class="packing-registration-param-item-right"> |
| | | <u-input class="item-one item-two" v-model="form.reelWeight" /> |
| | | </view> |
| | | </view> |
| | | <view class="packing-registration-param-item param-extra"> |
| | | <view class="packing-registration-param-item-left"> |
| | | <text class="item-one">毛重</text> |
| | |
| | | <text class="item-one">净重</text> |
| | | </view> |
| | | <view class="packing-registration-param-item-right"> |
| | | <u-input class="item-one item-two" v-model="form.theoryWeight" /> |
| | | <u-input class="item-one item-two" v-model="form.netWeight" /> |
| | | </view> |
| | | </view> |
| | | <view class="packing-registration-param-item param-extra"> |
| | |
| | | <text class="item-one">工序</text> |
| | | </view> |
| | | <view class="packing-registration-param-item-right"> |
| | | <u-input class="item-one item-two" v-model="form.name" /> |
| | | <u-input class="item-one item-two" v-model="form.name" disabled /> |
| | | </view> |
| | | </view> |
| | | <view class="packing-registration-param-item param-extra"> |
| | |
| | | <text class="item-one item-two">生产速度</text> |
| | | </view> |
| | | <view class="packing-registration-param-item-right"> |
| | | <u-input class="item-one item-two" v-model="form.productionSpeed" /> |
| | | <u-input |
| | | class="item-one item-two" |
| | | v-model="form.productionSpeed" |
| | | /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <script> |
| | | export default { |
| | | props: { |
| | | operationTaskId: { |
| | | operationTaskList: { |
| | | type: Object, |
| | | required: true, |
| | | default: () => ({}), |
| | |
| | | this.$refs.uModal.clearLoading(); // 清除加载状态 |
| | | return; |
| | | } |
| | | this.operationTaskList.operationTaskId = this.operationTaskList.id; |
| | | this.form.operationTaskId = this.operationTaskList.id; |
| | | this.operationTaskList.productOutputList = []; // 创建一个空数组 |
| | | this.operationTaskList.productOutputList.push(this.form); // 向数组中添加元素 |
| | | console.log("this.operationTaskList", this.operationTaskList); |
| | | this.$u.api.workReporting |
| | | .submitPDA({ ...this.form, operationTaskId: this.operationTaskId.id }) |
| | | .submitPDA(this.operationTaskList) |
| | | .then((res) => { |
| | | console.log("res", res); |
| | | this.$emit('update') |
| | | this.$emit("update"); |
| | | this.$refs.uModal.cancel(); |
| | | }); |
| | | }, |
| | |
| | | this.form = {}; |
| | | }, |
| | | open(val) { |
| | | console.log('11daidecanshuskk',val) |
| | | this.show = true; |
| | | this.form = val; |
| | | this.form = val.data; |
| | | }, |
| | | }, |
| | | }; |