| | |
| | | </view> |
| | | </view> |
| | | </u-cell-group> |
| | | <!-- 单据与归档(需求六) --> |
| | | <u-cell-group title="单据与归档" |
| | | class="form-section"> |
| | | <up-form-item label="发货单据" |
| | | prop="shippingDocument"> |
| | | <up-input v-model="form.shippingDocument" |
| | | placeholder="请输入发货单据" |
| | | clearable /> |
| | | </up-form-item> |
| | | <up-form-item label="是否对账" |
| | | prop="isReconciled"> |
| | | <up-switch v-model="form.isReconciled" |
| | | :active-value="1" |
| | | :inactive-value="0" /> |
| | | </up-form-item> |
| | | <up-form-item v-if="form.isReconciled === 1" |
| | | label="对账单归档" |
| | | prop="statementArchivingStatus"> |
| | | <up-textarea v-model="form.statementArchivingStatus" |
| | | placeholder="请填写对账单归档情况" |
| | | auto-height |
| | | maxlength="200" /> |
| | | </up-form-item> |
| | | <up-form-item label="是否结算" |
| | | prop="isSettled"> |
| | | <up-switch v-model="form.isSettled" |
| | | :active-value="1" |
| | | :inactive-value="0" /> |
| | | </up-form-item> |
| | | <up-form-item v-if="form.isSettled === 1" |
| | | label="结算单归档" |
| | | prop="settlementArchivingStatus"> |
| | | <up-textarea v-model="form.settlementArchivingStatus" |
| | | placeholder="请填写结算单归档情况" |
| | | auto-height |
| | | maxlength="200" /> |
| | | </up-form-item> |
| | | <up-form-item label="是否已开票" |
| | | prop="isInvoiced"> |
| | | <up-switch v-model="form.isInvoiced" |
| | | :active-value="1" |
| | | :inactive-value="0" /> |
| | | </up-form-item> |
| | | </u-cell-group> |
| | | <!-- 发货图片 --> |
| | | <u-cell-group title="发货图片" |
| | | class="form-section"> |
| | |
| | | shippingCarNumber: "", |
| | | expressCompany: "", |
| | | expressNumber: "", |
| | | shippingDocument: "", |
| | | isReconciled: 0, |
| | | statementArchivingStatus: "", |
| | | isSettled: 0, |
| | | settlementArchivingStatus: "", |
| | | isInvoiced: 0, |
| | | }); |
| | | |
| | | const rules = { |
| | |
| | | quantity: parseFloat(b.deliveryQuantity), |
| | | productModelId: goOutData.value.productModelId, |
| | | })), |
| | | // 需求六:发货时同步登记单据与对账/结算/开票情况, |
| | | // 后端未接收时会被忽略,不影响发货主流程 |
| | | shippingDocument: form.shippingDocument, |
| | | isReconciled: form.isReconciled, |
| | | statementArchivingStatus: |
| | | form.isReconciled === 1 ? form.statementArchivingStatus : "", |
| | | isSettled: form.isSettled, |
| | | settlementArchivingStatus: |
| | | form.isSettled === 1 ? form.settlementArchivingStatus : "", |
| | | isInvoiced: form.isInvoiced, |
| | | }; |
| | | |
| | | try { |